//
//  AboutReportViewController.m
//  suRead
//
//  Created by Kobe LI on 16/4/28.
//  Copyright © 2016年 bao. All rights reserved.
//

#import "AboutReportViewController.h"

@interface AboutReportViewController ()
@property (nonatomic,weak) IBOutlet UIWebView *infoWebView;

@end

@implementation AboutReportViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.automaticallyAdjustsScrollViewInsets = NO;
    
    __weak typeof(self) weak_self = self;
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(.1f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        NSString *servingURL = @"http://www.ctdsb.net/index.php?m=content&c=index&a=show&catid=15&id=33067";
        NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:servingURL]];
        [weak_self.infoWebView loadRequest:request];
        
    });

}

- (IBAction)back:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
    [self dismissViewControllerAnimated:YES completion:nil];
}

@end
